import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { BannerRoutingModule } from './banner-routing.module';
import { BannerComponent } from './banner/banner.component';
import { BannerEditComponent } from './banner-edit/banner-edit.component';
import { ListComponent } from './banner/list/list.component';
import { BannerService } from '@core/routes-services/banner.service';

const COMPONENTS = [
  ListComponent,
  BannerComponent];
const COMPONENTS_NOROUNT = [
  BannerEditComponent,
  ];

@NgModule({
  imports: [
    SharedModule,
    BannerRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT,
  ],
  entryComponents: COMPONENTS_NOROUNT,
  providers:[
    BannerService
  ]
})
export class BannerModule { }
